<template>
	<div class="purchase-note">
		<div class="purchase-note-container">
			<div class="purchase-note-mode">
				<span>配送方式</span>
				<span>快递</span>
			</div>
			<div class="purchase-note-detail">
				<Input label="备注" placeholder="如需备注请输入" v-model="remarkValue"/>
			</div>
		</div>
	</div>
</template>

<script>
	export default {
		name: "purchaseNote",
		props: {
			value: {
				type: String
			}
		},
		computed: {
			remarkValue: {
				get() {
					return this.value;
				},
				set(newValue) {
					this.$emit('input', newValue)
				}
			}
		},
		components: {
			Input: () => import('#/Address/Input')
		}
	}
</script>
